﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IFServerDLL.DB;
using HCY.CTP.DBShangZheng;
using IFServerDLL.Model;
using IFClientDLL.MyCalc;
using IFClientDLL.MyCalc.CalcMarket;
using IFClientDLL.MyCalc.CalcArt;

namespace IFClientDLL.Calc
{

    public class MyCalcManager
    {
        public bool IsAutoTrade { get; set; }

        private ITryIF _tryif;
        public MyCalcManager(ITryIF tryif)
        {
            _tryif = tryif;

            _dataManager = new MyCalcData(tryif);
            _CalcArt = new MyCalc_ArtManager(_dataManager);
        }

        private MyCalcData _dataManager;
        public MyCalcData DataManager
        {
            get { return _dataManager;   }
        }

        private MyCalc_ArtManager _CalcArt;
        public MyCalc_ArtManager CalcArt { get { return _CalcArt; } }
        
       

        

    }
}
